package cr.novatec.test.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface PersistenceServiceAsync {

	void persistAnimal(String color, String species,
			AsyncCallback<Void> callback);

	void getAnimal(AsyncCallback<Animal> callback);

	void getAnimals(AsyncCallback<List<Animal>> callback);

}
